package com.yangming.springboot.deepin.service;

import com.yangming.springboot.deepin.dao.UserDao;
import com.yangming.springboot.deepin.vo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @创建人 ym
 * @创建时间 2021/3/30 0030
 * @描述
 **/

@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User queryUserById(Integer id){
        return userDao.queryUserById(id);
    }

}
